/*
 * Base structure
 */

/* Move down content because we have a fixed navbar that is 50px tall */
body {
  padding-top: 50px;
}


/*
 * Global add-ons
 */

.sub-header {
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

/*
 * Top navigation
 * Hide default border to remove 1px line.
 */
.navbar-fixed-top {
  border: 0;
}

/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar {
  display: none;
}
@media (min-width: 768px) {
  .sidebar {
    position: fixed;
    top: 51px;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: block;
    padding: 20px;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
    background-color: #f5f5f5;
    border-right: 1px solid #eee;
  }
}

/* Sidebar navigation */
.nav-sidebar {
  margin-right: -21px; /* 20px padding + 1px border */
  margin-bottom: 20px;
  margin-left: -20px;
}
.nav-sidebar > li > a {
  padding-right: 20px;
  padding-left: 20px;
}
.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
  color: #fff;
  background-color: #428bca;
}


/*
 * Main content
 */

.main {
  padding: 20px;
}
@media (min-width: 768px) {
  .main {
    padding-right: 40px;
    padding-left: 40px;
  }
}
.main .page-header {
  margin-top: 0;
}


/*
 * Placeholder dashboard ideas
 */

.placeholders {
  margin-bottom: 30px;
  text-align: center;
}
.placeholders h4 {
  margin-bottom: 0;
}
.placeholder {
  margin-bottom: 20px;
}
.placeholder img {
  display: inline-block;
  border-radius: 50%;
}


 .box{
            width: 610px;
            height: 610px;
            margin: 100px auto;
            display: grid;/* 说明以grid布局 */
            grid-template-columns: 200px 5px 200px 20px 200px; /* 网格划分为五列，包括间隔 */
            grid-template-rows: 200px 5px 200px 5px 200px;/* 网格划分为五行，包括间隔 */
        }
.boxd{
    /*width: 610px;
    height: 610px;*/
    /*margin: 100px auto;*/
    display: grid;/* 说明以grid布局 */
    grid-template-columns: 50px 5px 50px 5px 50px 5px 50px; /* 网格划分为五列，包括间隔 */
    grid-template-rows: 50px 5px 50px 5px 50px;/* 网格划分为五行，包括间隔 */
}

.box_main{
    display: grid;
    grid-template-columns: 1% 15% 1% 82% 1%; /* 网格划分为五列，包括间隔 */
    grid-template-rows: auto 5px auto 5px;/* 网格划分为五行，包括间隔 */
    /*grid-gap:lem;*/
    /*grid-auto-rows:100px;*/

}
#fun_group {
    grid-column-start:2;
    grid-column-end:3;
    grid-row-start:1;
    grid-row-end:4;
    /*background: #F672E2;*/
}
#send_box {
    grid-column-start:4;
    grid-column-end:5;
    grid-row-start:1;
    grid-row-end:2;
    /*background: #F672E2;*/
}
#recv_box {
    grid-column-start:4;
    grid-column-end:5;
    grid-row-start:3;
    grid-row-end:4;
    /*background: #F672E2;*/
}
.a{
    grid-column-start: 1;/* 单元格开始的那条列线 */
    grid-column-end: 2;/* 单元格结束的那条列线 */
    grid-row-start: 1;/* 单元格开始的那条行线 */
    grid-row-end: 4;/* 单元格结束的那条行线 */
    /*background: #5a5eff;*/
}
.b{
    grid-column-start: 3;
    grid-column-end: 4;
    grid-row-start: 1;
    grid-row-end: 2;
    /*background: #F672E2;*/
}
.c{
    grid-column-start: 5;
    grid-column-end: 6;
    grid-row-start: 1;
    grid-row-end: 2;
    /*background: #FDF505;*/
}
.d{
    grid-column-start: 3;
    grid-column-end: 4;
    grid-row-start: 3;
    grid-row-end: 4;
    /*background: #F90B0B;*/
}

.e{
    grid-column-start: 5;
    grid-column-end: 6;
    grid-row-start: 3;
    grid-row-end: 4;
    /*background: #F90B0B;*/
}

.only-dbg{
    display: none;
    /*background: #F90B0B;*/
}
.edit_box{
    /*background: #b63b4d;*/
    color: #FFF;
}
#fun_group {
    font-size: 16px;
}
.fun_list{
    position: relative;
    display: block;
    padding: 10px 15px;
    list-style:none;
}
.fun_list li {
}
.fun_list li:hover,
.fun_list li:focus {
  text-decoration: none;
  background-color: #eee;
}
.sidebar h2 {
    background-color: red;
    color: #ffffff;
    border-radius: 4px;
    margin-top: 0px;
    margin-bottom: : 0px;
    padding: 0px;
}

.fun-title {
 background-color: #428bca;   
 color: #ffffff;
 margin-top: 2px;
  margin-bottom: : 2px;
  font-size: 20px;
  border-radius: 4px;
}


